﻿namespace CV.Controllers.Test.Mvc
{
    using CV.Controllers.Mvc;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using System.Web.Mvc;

    [TestClass]
    public class DefaultControllerTest
    {
        [TestMethod]
        public void The_Index_On_Default_Controller_Has_No_Model()
        {
            var ctrl = new DefaultController();

            var result = ctrl.Index() as ViewResult;

            Assert.IsNull(result.Model, "The model should be null.");
        }
    }
}
